import { createStore } from 'vuex'

export default createStore({
  state: {
    searchResult: [],
    recommendList: [],
    tourList: []
  },
  getters: {
  },
  mutations: {
    setSearchResult(state, result) {
      state.searchResult = result
    },
    setRecommendList(state, list) {
      state.recommendList = list
    },
    setTourList(state, list) {
      state.tourList = list
    }
  },
  actions: {
  },
  modules: {
  }
})
